
#include <string>
#include <vector>
#include "irbmpgenerator.h"
#include "cmconstants.h"

/** \summary A class to generate Regular BMP files. 
 * This class can create periodic patterns in a bitmap image. The blank image should already 
 * exist with the correct size.
 */
class RBMPGeneratorSync : public iRBMPGenerator
{
public:
	RBMPGeneratorSync ();
	void draw (std::string fileName);	//!< This function actually draws a random regular pattern in the given bitmap file.
	void randomize ();					//!< Randomizes the parameters that are used to draw the random pattern.

private:
	std::vector<int> pixelValue;	//!< The sequence of the repeating values for each of the 8 bits
};
	